A structured speci cation of an active database

نویسندگان

  • Jack Campin
  • Norman W. Paton
چکیده

Active database systems are a current focus of considerable research interest, as a means of supporting a range of tasks including constraint enforcement, real-time applications and derived data management. However, although many diierent proposals have been made for active rule systems, such proposals are normally described in an informal manner, which makes it diicult to understand how diierent proposals diier or how a set of rules will behave. This paper compares a range of formal speciication methods, considering how suitable they are for describing active database func-tionality, and then shows how the model-based notation Object-Z, an object-oriented extension of Z, can be used to specify the semantics of a representative active database system, namely Starburst. 1 Active database systems Active database systems extend a pre-existing database model (relational, extended relational, functional or object-oriented) with some variant of a common paradigm of computation, event-condition-action (ECA) rules. An event represents some occurrence in the database; this may be either an access or modiica-tion to a speciic data item managed by the database or an external occurrence such as the state of a clock. The occurrence of such an event triggers the checking of a condition: this is a boolean-valued query over the database having no side eeects. If this query returns true, an action will be performed: this can be any operation expressible in the database. These systems have a number of advantages over passive database systems. Time-based events provide a straightforward way of expressing security constraints, such as preventing access at certain times, or real-time constructs, like the pre-emption of a query if it has not completed within the time allotted for it. Data events are the focus of the system described here. These provide a way of implementing semantic integrity constraints which modularizes their implementation better than competing approaches. Where these other approaches have to distribute enforcement of the constraint across all code (queries or embedded accesses), an active implementation builds the constraint into the run-time behaviour of the database by compiling a small set of rules. No semantic checking of subsequently run application programs is required to prevent violation of the implemented constraints. This is especially important for an object-oriented system, where access is not generally through a query language ; the overhead of checking all application code in a general-purpose programming language for constraint violations would be very expensive, and the amount of rechecking involved would make evolution …

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Afit Wide Spectrum Object Modeling Environment: an Awsome Beginning

Over the past several years, the Air Force Institute of Technology (AFIT) has been developing a formal-based software synthesis system, the AFIT Wide Spectrum Object Modeling Environment (AWSOME), along with a speci cation language AWL (AFIT Wide-spectrum Language). Several tools have been developed, including a parser for the AWL syntax, an interactive object editor, a Java code generator, and...

متن کامل

Composite Event Speci cation in Active Database Systems: A Petri Nets Approach

Event detection is the rst and the most important step for Event-Condition-Action (ECA) rule execution in active database systems. Composite event detection is not easy for most existing active database systems. In this paper, a Conditional Colored Petri Net model (CCPN) is proposed for composite events speci cation and detection. Composite events are detected by checking composite transition e...

متن کامل

Formal Speci cation Of Active Database Functionality: A Survey

This paper reviews research on the formal speciication of active behaviour, indicating both what has been done in this area, and how. The scope of diierent approaches is compared within a common framework, which reveals that although many aspects of active behaviour have been described formally, no single proposal covers all phenomena associated with active database systems.

متن کامل

Extracting A ribute-Value Pairs from Product Specifications on the Web

Comparison shopping portals integrate product o ers from large numbers of e-shops in order to support consumers in their buying decisions. Product o ers often consist of a title and a free-text product description, both describing product attributes that are considered relevant by the speci c vendor. In addition, product o ers might contain structured or semi-structured product speci cations in...

متن کامل

TBE: A Graphical Interface for Writing Trigger Rules in Active Databases

Triggers have been adopted as an important database feature and implemented by most major database vendors. Despite their diverse potential usages, one of the obstacles that hinder the triggers from their wide deployment is the lack of tools that aid users to create trigger rules. Similar to understanding and specifying database queries in SQL3, it is di cult to visualize the meaning of the wri...

متن کامل

A Constraint-Based Speci cation for Box Layout in CSS2

Cascading Style Sheets provide a exible mechanism for governing the appearance of Web pages. Cascading Style Sheets Level 2 (CSS2) are an enhancement to the original CSS1 speci cation, giving Web page designers additional control over the appearance of Web pages. However, the CSS2 speci cation is written in English, leaving open the possibility of ambiguity or inconsistency. We present a formal...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1995